package com.epower.dao.epowersentence;

import java.util.List;
import com.epower.dataobject.EpowerSentenceDO;


public interface EpowerSentenceDAO {
    //添加操作
    public Integer addEpowerSentence(List<EpowerSentenceDO> epowerSentenceDOs);
    
    public List<EpowerSentenceDO> querySentenceBySpelling(String spelling);
    
    public int querySentenceCountBySpelling(String spelling);
    
    public int querySentenceById(int id);
    
    public int updateEpowerSentence(List<EpowerSentenceDO> epowerSentenceDOs);
    
    public Integer deleteEpowerSentenceBySpelling(String spelling);
    
    public boolean deleteEpowerSentenceById(int id);
}
